let obj = {}
if (obj) {
    console.log('obj is not empty');
}

console.log(1 == []);
//Number([]) --> ToNumber([]) --> ToPrimitive([])  toString([]) --> '' --> 0
//                                       |                  |
//                                       |--> valueOf([]) -->
